import { PropType } from 'vue';

declare type position = 'left' | 'right';
declare type size = 'large' | 'default' | 'small';

export const iconTextProps = {
	text: {
		type: String,
	},
	tooltip: {
		type: String,
	},
	iconClass: {
		type: String,
	},
	imgPath: {
		type: String,
	},
    imgPathX: {
        type: String,
    },
	fontIconClass: {
		type: String,
	},
	position: {
		type: String as PropType<position>,
		default: 'left',
	},
	loading: {
		type: Boolean,
		default: false,
	},
	size: {
		type: String as PropType<size>,
		default: 'default',
	},
	fontSize: {
		type: Number,
		default: 14,
	},
    imgSize: {
        type: Number,
        default: 0,
    }
};
